package com.zhao.dota.model;

import com.zhao.dota.common.contant.BaseEnum;
import lombok.Data;

@Data
public class Auction {

    private Integer leagueId;

    private Integer userId;

    private Integer heroId;

    private Integer gold;

    private Type type;




    public enum Type implements BaseEnum {

        NORMAL("明拍"),

        SECRET("暗拍"),

        ;

        private final String desc;

        Type(String desc) {
            this.desc = desc;
        }

        @Override
        public String getDesc() {
            return desc;
        }
    }

}
